package com.part2.beans;

/**
 * News entity.
 * 
 * @author MyEclipse Persistence Tools
 */
import java.util.Date;
public class News implements java.io.Serializable {

	// Fields


	private String newsId;
	private String newsTitle;
	private String newsTitleEn;
	private String newsContent;
	private String newsContentEn;
	private Short newsType;
	private Integer viewNum;
	private String createUserId;
	private Date createDate;
	private String lastModifielUserId;
	private Date lastModifielDate;
	
	public News(){}
	
	
	public News(String newsId, String newsTitle, String newsTitleEn,
			String newsContent, String newsContentEn, Short newsType,
			Integer viewNum, String createUserId, Date createDate,
			String lastModifielUserId, Date lastModifielDate) {
		this.newsId = newsId;
		this.newsTitle = newsTitle;
		this.newsTitleEn = newsTitleEn;
		this.newsContent = newsContent;
		this.newsContentEn = newsContentEn;
		this.newsType = newsType;
		this.viewNum = viewNum;
		this.createUserId = createUserId;
		this.createDate = createDate;
		this.lastModifielUserId = lastModifielUserId;
		this.lastModifielDate = lastModifielDate;
	}


	public String getNewsTitleEn() {
		return newsTitleEn;
	}

	public void setNewsTitleEn(String newsTitleEn) {
		this.newsTitleEn = newsTitleEn;
	}

	public String getNewsContentEn() {
		return newsContentEn;
	}

	public void setNewsContentEn(String newsContentEn) {
		this.newsContentEn = newsContentEn;
	}

	public String getNewsId() {
		return newsId;
	}
	public void setNewsId(String newsId) {
		this.newsId = newsId;
	}
	public String getNewsTitle() {
		return newsTitle;
	}
	public void setNewsTitle(String newsTitle) {
		this.newsTitle = newsTitle;
	}
	public String getNewsContent() {
		return newsContent;
	}
	public void setNewsContent(String newsContent) {
		this.newsContent = newsContent;
	}
	public Short getNewsType() {
		return newsType;
	}
	public void setNewsType(Short newsType) {
		this.newsType = newsType;
	}
	public Integer getViewNum() {
		return viewNum;
	}
	public void setViewNum(Integer viewNum) {
		this.viewNum = viewNum;
	}
	public String getCreateUserId() {
		return createUserId;
	}
	public void setCreateUserId(String createUserId) {
		this.createUserId = createUserId;
	}
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	public String getLastModifielUserId() {
		return lastModifielUserId;
	}
	public void setLastModifielUserId(String lastModifielUserId) {
		this.lastModifielUserId = lastModifielUserId;
	}
	public Date getLastModifielDate() {
		return lastModifielDate;
	}
	public void setLastModifielDate(Date lastModifielDate) {
		this.lastModifielDate = lastModifielDate;
	}

	

}